import request from "@/utils/request";

/**
 * 获取未绑定店铺列表
 * @param params
 * @returns {Promise | Promise<unknown>}
 */
export function getUnbindAccountList(params = {}){
  return request({
    url: '/account/getUnbindAccountList',
    params,
  })
}

/**
 * 绑定账号
 * @param data
 * @returns {Promise | Promise<unknown>}
 */
export function bindAccount(data){
  return request({
    url: '/account/bindAccount',
    method: 'post',
    data,
    handleError: true,
  })
}
